import request from '@/utils/request'

// 查询自动化更新需要用的平台cookie列表
export function listBiplatformcookies(query) {
  return request({
    url: '/conf/biplatformcookies/list',
    method: 'get',
    params: query
  })
}

// 查询自动化更新需要用的平台cookie详细
export function getBiplatformcookies(id) {
  return request({
    url: '/conf/biplatformcookies/' + id,
    method: 'get'
  })
}

// 新增自动化更新需要用的平台cookie
export function addBiplatformcookies(data) {
  return request({
    url: '/conf/biplatformcookies',
    method: 'post',
    data: data
  })
}

// 修改自动化更新需要用的平台cookie
export function updateBiplatformcookies(data) {
  return request({
    url: '/conf/biplatformcookies',
    method: 'put',
    data: data
  })
}

// 删除自动化更新需要用的平台cookie
export function delBiplatformcookies(id) {
  return request({
    url: '/conf/biplatformcookies/' + id,
    method: 'delete'
  })
}
